package ch.exm.storm.test.domain.impl;

import ch.exm.storm.test.domain.Item;

public class ItemImpl extends AbstractDomainObject implements Item {

	private String code;

	private double price;
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}
	
	@Override
	public String toString() {
		return "Item[" + getId() + "] is " + getCode() + " with price = " + getPrice();
	}
}
